package com.hlbbcsr.dao.impl;

import org.hibernate.Session;
import org.hibernate.SessionFactory;

public class BaseHelperDAO {
	
	private SessionFactory sessionFactory;

	public void setSessionFactory(SessionFactory sessionFactory) {
		this.sessionFactory = sessionFactory;
	}
	
	public Session getCurrentSession () {
		return this.sessionFactory.getCurrentSession();
	}
}
